﻿using Net8.Project.Common.Extensions;
using Net8.Project.Model.Entity;

namespace Net8.Project.Data.Repository
{
    public interface IUserRepository
    {
        Task<User> GetUserAsync(int id);

        /// <summary>
        /// 获取系统中所有的角色和菜单的关系集合
        /// </summary>
        /// <returns></returns>
        Task<List<RoleModulePermission>> RoleModuleMaps();
    }
}
